/**
 * 
 */
package com.design.patterns.fabrqiue;

import java.util.ArrayList;

/**
 * @author ok
 * 
 */
public abstract class JInstr {
	protected int adress;
	protected String jj_instr;
	protected ArrayList<String> parameters = new ArrayList<String>();
	
	

	/**
	 * @return the adress
	 */
	public int getAdress() {
		return adress;
	}



	/**
	 * @param adress the adress to set
	 */
	public void setAdress(int adress) {
		this.adress = adress;
	}



	/**
	 * @return the jj_instr
	 */
	public String getJj_instr() {
		return jj_instr;
	}



	/**
	 * @param jj_instr the jj_instr to set
	 */
	public void setJj_instr(String jj_instr) {
		this.jj_instr = jj_instr;
	}



	/**
	 * @return the parameters
	 */
	public ArrayList<String> getParameters() {
		return parameters;
	}



	/**
	 * @param parameters the parameters to set
	 */
	public void setParameters(ArrayList<String> parameters) {
		this.parameters = parameters;
	}



	/**
	 * @param adress
	 * @param jj_instr
	 * @param parameters
	 */
	public JInstr(int adress, String jj_instr, ArrayList<String> parameters) {
		super();
		this.adress = adress;
		this.jj_instr = jj_instr;
		this.parameters = parameters;
	}
}
